package com.flyco.modules.sms.service.impl;

import com.flyco.modules.sms.entity.SmsPromotionGoodsRef;
import com.flyco.modules.sms.mapper.SmsPromotionGoodsRefMapper;
import com.flyco.modules.sms.service.ISmsPromotionGoodsRefService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 活动商品关联表
 * @Author: flyco
 * @Date:   2022-05-05
 * @Version: V1.0
 */
@Service
public class SmsPromotionGoodsRefServiceImpl extends ServiceImpl<SmsPromotionGoodsRefMapper, SmsPromotionGoodsRef> implements ISmsPromotionGoodsRefService {
	
	@Autowired
	private SmsPromotionGoodsRefMapper smsPromotionGoodsRefMapper;
	
	@Override
	public List<SmsPromotionGoodsRef> selectByMainId(Long mainId) {
		return smsPromotionGoodsRefMapper.selectByMainId(mainId);
	}
}
